-
Couldn't load subscription status.
- Fork 81
Correct and compact service container doc #1635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
DominikaK
commented
Jun 2, 2022
| Question | Answer |
|---|---|
| JIRA Ticket | n/a |
| Versions | all |
| !!! tip | ||
|
|
||
| For a list of all service tags exposed by Symfony, see its [reference documentation]([[=symfony_doc=]]/reference/dic_tags.html). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a follow up: we should have a similar page with Ibexa service tags.
docs/api/public_php_api.md
Outdated
| [[= product_name =]] uses the [Symfony service container]([[=symfony_doc=]]/service_container.html) for dependency resolution. | ||
|
|
||
| [Symfony dependency injection]([[=symfony_doc=]]/components/dependency_injection.html) ensures that any required services are available in your custom code | ||
| (for example controllers) when you inject them into the constructor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| (for example controllers) when you inject them into the constructor. | |
| (for example, controllers) when you inject them into the constructor. |
| ## Field Types | ||
|
|
||
| The following tags used to register Field Type features in the [service container](https://doc.ibexa.co/en/latest/guide/service_container) have been renamed: | ||
| The following tags used to register Field Type features in the [service container](https://doc.ibexa.co/en/latest/guide/api/public_php_api.md#service-container) have been renamed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken link
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link and the others will be fixed when this PR is merged (because the releases section uses absolute links, they only work after merging).
| The `ezstudio.installer.studio_installer` service has been renamed to the FQCN-named | ||
| service `EzSystems\EzPlatformEnterpriseEditionInstallerBundle\Installer\Installer`. | ||
| Deprecated `ezplatform.ee.installer.class` [service container](https://doc.ibexa.co/en/latest/guide/service_container) parameter has been removed. | ||
| Deprecated `ezplatform.ee.installer.class` [service container](https://doc.ibexa.co/en/latest/guide/api/public_php_api.md#service-container) parameter has been removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken link
|
|
||
| The `eZ\Bundle\EzPublishCoreBundle\Controller` now extends `Symfony\Bundle\FrameworkBundle\Controller\AbstractController` instead of `Symfony\Bundle\FrameworkBundle\Controller\Controller` which has limited access to the [service container](https://doc.ibexa.co/en/latest/guide/service_container). | ||
| For details, see [Service Subscribers Locators](https://symfony.com/doc/5.0/service_container/service_subscribers_locators.html). | ||
| The `eZ\Bundle\EzPublishCoreBundle\Controller` now extends `Symfony\Bundle\FrameworkBundle\Controller\AbstractController` instead of `Symfony\Bundle\FrameworkBundle\Controller\Controller` which has limited access to the [service container](https://doc.ibexa.co/en/latest/guide/api/public_php_api.md#service-container). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken link
| The `eZ\Bundle\EzPublishCoreBundle\Controller` now extends `Symfony\Bundle\FrameworkBundle\Controller\AbstractController` instead of `Symfony\Bundle\FrameworkBundle\Controller\Controller` which has limited access to the [service container](https://doc.ibexa.co/en/latest/guide/service_container). | ||
| For details, see [Service Subscribers Locators](https://symfony.com/doc/5.0/service_container/service_subscribers_locators.html). | ||
| The `eZ\Bundle\EzPublishCoreBundle\Controller` now extends `Symfony\Bundle\FrameworkBundle\Controller\AbstractController` instead of `Symfony\Bundle\FrameworkBundle\Controller\Controller` which has limited access to the [service container](https://doc.ibexa.co/en/latest/guide/api/public_php_api.md#service-container). | ||
| For details, see [Service Subscribers Locators](https://symfony.com/doc/5.0/api/public_php_api.md#service-container/service_subscribers_locators.html). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken link (page not found on Symfony
| ### Symfony service container | ||
|
|
||
| The deprecated Symfony [service container](https://doc.ibexa.co/en/latest/guide/service_container) parameters ending with `.class` have been removed, services relying on them now have their classes defined explicitly. | ||
| The deprecated Symfony [service container](https://doc.ibexa.co/en/latest/guide/api/public_php_api.md#service-container) parameters ending with `.class` have been removed, services relying on them now have their classes defined explicitly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken link